package com.telit.firecommand.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * Create by Chencf 2023/02/17
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class VisualRightDTO {

    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "行政区划")
    private String districtCode;

    @NotNull(message = "查询时间不能为空")
    @ApiModelProperty(value = "时间YYYY-MM-DD")
    private String date;
}
